<!DOCTYPE html>
<html>
<head>
	<mate charset="utf-8">
	<title></title>
	<style type="text/css">
	.__item{
		/*background: red;*/
		height: 50px;
	}
	form{
		width: 500px;
	    background: #ccc;
	    padding: 30px;
	    box-shadow: 1px 1px 10px 2px #999;
	}
	.__item label{
		height: 30px;
		min-width: 100px;
		display: inline-block;
		text-align: right;
		margin-right: 20px;
	}
	.__item input{
	    height: 30px;
	    min-width: 250px;
	    display: inline-block;
	    border-radius: 5px;
	    border: 1px solid #40aec0;
	    outline: none;
	}
	.__item .__btn
	{
	    height: 30px;
	    min-width: 100px;
	    cursor: pointer;
	    /*outline: 1px solid;*/
	}
	.__item .__btn:hover
	{
	    background: black;
	    color: #fff;
	}
	</style>
</head>
<body>
<form>
	<#import 'html_form_item.ftl' as formItem>
	<#list table.columns as columns>
	<#if columns.columnName?matches(conf.form.passwordMather.name)>
		<@formItem.text name="${under_camel(columns.columnName)}" type="password" desc="${columns.columnComment!''}"/>
	<#elseif columns.columnComment?matches(conf.form.radioMather.comment) || columns.columnType?matches(conf.form.radioMather.type)>
		<@formItem.radio name="${under_camel(columns.columnName)}" desc="${columns.columnComment!''}"/>
	<#elseif columns.columnComment?matches(conf.form.checkboxMather.comment) || columns.columnType?matches(conf.form.checkboxMather.type)>
		<@formItem.checkbox name="${under_camel(columns.columnName)}" desc="${columns.columnComment!''}"/>
	<#else>
		<@formItem.text name="${under_camel(columns.columnName)}" type="text" desc="${columns.columnComment!''}"/>
	</#if>
	</#list>
	<div class="__item">
		<label></label>
		<input class="__btn" type="button" value="提交">
		<input class="__btn" type="reset" value="重置">
	</div>
</form>
</body>
</html>